emacs24 software package provides GNU Emacs editor (with GTK+ GUI support), you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install emacs24
emacs24 is installed in your system.
Make ensure the emacs24 package were installed using the commands given below,
$ sudo dpkg-query -l | grep emacs24 *
You will get with emacs24 package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Editors |
| Package | emacs24 |
| Version | 24.5+1-7 |
| Description | GNU Emacs editor (with GTK+ GUI support) |
| Sub Section | Editors |